<%--
  Created by IntelliJ IDEA.
  User: fangyuan
  Date: 2022/3/7
  Time: 上午10:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>login</title>
</head>
<body>

<h1>${result}</h1>

<form ation="login" method="post">
    用户名：<input type="text" name="name"> <br/>
    密           码：<input type="password" name="password"> <br/>
    <input type="submit" value="登录"> <br/>
    当前在线已登陆人数 :  <%= application.getAttribute("Online") %>   <br>
    当前在线人数 ： <%= application.getAttribute("numSessions") %>  <br>
</form>

</body>
</html>
